<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Login</title>
    <link rel="stylesheet" href="css/style.css">
    <script src="/js/axios.min.js"></script>
    <script src="/js/query.js"></script>
    <script src="/index/js/index.js"></script>
    <style>
        select {
            letter-spacing: 1px;
            font-size: 14px;
            box-sizing: border-box;
            width: 250px;
            height: 35px;
            border-radius: 5px;
            border: 1px solid rgba(255,255,255,0.5);
            background: rgba(255,255,255,1);
            outline: none;
            padding: 0 12px;
            transition: 0.2s;
        }

    </style>
</head>
<body>
    <div class="box">
        <h2>宿舍管理系统</h2>
        <div class="input-box">
            <span id="errorSpan" style="color: red"></span>
        </div>
        <div class="input-box">
            <label>账号</label>
            <input type="text" id="userName"/>
        </div>
        <div class="input-box">
            <label>密码</label>
            <input type="password" id="pwd" />
        </div>
                <input type="button" onclick="login()" value="登录"  class="button12">
            </div>
        </div>
    </div>
</body>
</html>